package net.sxnic.jhitem.itempeople;

import net.sxinfo.core.entity.AbstractEntity;
import javax.persistence.*;

import org.hibernate.annotations.BatchSize;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Cascade;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;


@Entity
@Table(name = "jh_item_people")
@BatchSize(size = 10)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ItemPeople extends AbstractEntity {
	
	private static final long serialVersionUID = 1L;
	

	//columns START
	// 姓名
	private String chinName;

	// 性别
	@Column(length=20)
	private String sex;
	// 出生年月
	@Column(length=10)
	private String born;
	// 学位
	@Column(length=20)
	private String educate;
	// 学历
	@Column(length=20)
	private String learn;
	// 学术职称
	@Column(length=20)
	private String scienceTitle;
	// 技术职称
	@Column(length=20)
	private String techTitle;
	// 专业
	private String specialty;
	// 承担任务
	private String task;
	// 工作单位
	private String unit;
	// 国别
	@Column(length=20)
	private String country;
	// 曾在何国留学或进修
	private String oversea;
	// 重点学科、重点实验室名称
	private String pivotName;
	// 项目分阶段实施排序
	private int peopleOrder;
	private java.lang.String baseinfoId;
	//columns END

	
	public ItemPeople()
	{
		super();
	}
	
	

	public String getChinName() {
		return this.chinName;
	}
	
	public void setChinName(String value) {
		this.chinName = value;
	}
	
	public String getSex() {
		return this.sex;
	}
	
	public void setSex(String value) {
		this.sex = value;
	}
	
	
	
	public String getEducate() {
		return this.educate;
	}
	
	public void setEducate(String value) {
		this.educate = value;
	}
	
	public String getLearn() {
		return this.learn;
	}
	
	public void setLearn(String value) {
		this.learn = value;
	}
	
	public String getScienceTitle() {
		return this.scienceTitle;
	}
	
	public void setScienceTitle(String value) {
		this.scienceTitle = value;
	}
	
	public String getTechTitle() {
		return this.techTitle;
	}
	
	public void setTechTitle(String value) {
		this.techTitle = value;
	}
	
	public String getSpecialty() {
		return this.specialty;
	}
	
	public void setSpecialty(String value) {
		this.specialty = value;
	}
	
	public String getTask() {
		return this.task;
	}
	
	public void setTask(String value) {
		this.task = value;
	}
	
	public String getUnit() {
		return this.unit;
	}
	
	public void setUnit(String value) {
		this.unit = value;
	}
	
	public String getCountry() {
		return this.country;
	}
	
	public void setCountry(String value) {
		this.country = value;
	}
	
	public String getOversea() {
		return this.oversea;
	}
	
	public void setOversea(String value) {
		this.oversea = value;
	}
	
	public String getPivotName() {
		return this.pivotName;
	}
	
	public void setPivotName(String value) {
		this.pivotName = value;
	}
	
	public int getPeopleOrder() {
		return peopleOrder;
	}

	public void setPeopleOrder(int peopleOrder) {
		this.peopleOrder = peopleOrder;
	}
	
	public java.lang.String getBaseinfoId() {
		return this.baseinfoId;
	}
	
	public void setBaseinfoId(java.lang.String value) {
		this.baseinfoId = value;
	}

	public String getBorn() {
		return born;
	}

	public void setBorn(String born) {
		this.born = born;
	}
	
	
}

